<template>
	<view class="container">
		<view class="list">
			<view class="item" @click="toOtherPage('bind')">绑定车牌</view>
			<view class="item" @click="toOtherPage('order')">我的订单</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			toOtherPage(type) {
				if (type == "bind") {
					// 跳转到绑定车牌页面
					uni.navigateTo({
						url: "/pages/myCar/myCar"
					})
				} else {
					// 跳转到订单页面：
					uni.navigateTo({
						url: '/pages/record/record'
					})
				}

			}
		}
	}
</script>

<style lang="less">
	page {
		background: url(../../static/images/mine_bg.png) no-repeat;
		background-repeat: no-repeat;
		background-size: cover;
	}

	.container {
		padding: 20rpx;
	}

	.container .list {
		background: #ffffff;
		box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(0, 0, 0, 0.07);
		border-radius: 20rpx;
		width: 100%;
		padding: 22rpx;
		box-sizing: border-box;
	}

	.list .item {
		line-height: 100rpx;
		border-bottom: 2rpx solid #f3f4f5;
		padding-left: 30rpx;
		background: url(../../static/images/mine_right_arrow.png) no-repeat 98% center;
		background-size: 32rpx;
	}

	.list .item:last-of-type {
		border: none;
	}
</style>
